package conson.tech.manage.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import conson.tech.manage.app.entity.pojo.AppPageConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * InterfaceName: AppConfigMapper
 * Description:
 * Author: HXL
 * Date: 2020/4/23 3:44 下午
 * Version: 1.0
 */
public interface AppPageConfigMapper extends BaseMapper<AppPageConfig> {
    Page<AppPageConfig> queryPageList(Page<AppPageConfig> page,@Param("pageType") Integer pageType);

    int insertAppPageConfig(AppPageConfig appPageConfig);

    int deletePageConfigById(@Param("moduleId")Long moduleId);

    List<AppPageConfig> queryAppPageConfigByPageType(@Param("pageType")int pageType,@Param("versionValue") int versionValue);
}
